import requests

url = 'https://vip.hdbz.net/auth/ajaxlogin'

data = {
    'username': '15225989853',
    'userpwd': 'Zdz123123'
}
session = requests.Session()
login_response = session.post(url, data=data)
index_response = session.get('https://www.hdbz.net/')
# print(index_response.content.decode('utf-8'))

data = {
    'aid': '179490',
    'imageurl': '/wallpaper/202510/179490.html'
}
like_response = session.post('https://vip.hdbz.net/site/ImageStore', data=data)
print(like_response.text)

date = {
    'favoriteid': '2652'
}
not_like_response = session.post('https://vip.hdbz.net/site/favoritedel', data=date)
print(not_like_response.text)
